package com.jic.market.request.rest.discountamount;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author yinhaijun
 * @date: 2020/4/13
 */
@Data
public class DiscountAmountRefundRequest implements Serializable {

    private AdminOperate adminOperate;
    @ApiModelProperty(notes = "测试用的活动类型", required = false)
    private Integer frontPromotionType;
    @NotEmpty(message = "第三方用户id不能为空")
    @ApiModelProperty(notes = "第三方用户id", required = true)
    private String thirdUserId;

    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(notes = "订单号，若商品编码为空，视为退整个订单", required = true)
    private String orderNo;

    @ApiModelProperty(notes = "商品编码", required = false)
    private List<String> thirdProductCodeList;

}
